package com.wwj.auction.login.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wwj.auction.login.entity.Withdraw;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author wwj
 * @since 2021-08-10
 */
public interface WithdrawService extends IService<Withdraw> {

    /**
     * 处理提现流程，保存提现信息
     *
     * @param userId
     * @param fetchAmt
     */
    void save(Integer userId, String fetchAmt);

    /**
     * 查询当前用户的提现状态
     *
     * @param userId
     * @return
     */
    Integer getStatus(Integer userId);
}
